package com.ctvit.sjk.knowledge.model.pojo.dto;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 模型DTO
 *
 * @author heyingcheng
 * @date 2025/03/24
 */
@Getter
@Setter
@ToString
public class ModelBaseDTO {

    protected String name;

    protected String provider;

    @JsonProperty("model_type")
    protected String modelType;

    @JsonProperty("model_name")
    protected String modelName;

    @JsonProperty("permission_type")
    protected String permissionType;

    @JsonProperty("model_params_form")
    protected JSONArray modelParamsForm;

    protected JSONObject credential;

}
